package com.yztc.ui.details;

import com.yztc.base.IModle;
import com.yztc.base.IPresenter;
import com.yztc.base.IView;
import com.yztc.bean.details.MstjBean;
import com.yztc.bean.details.ProductDetailBean;
import com.yztc.bean.details.ProductImgBean;
import com.yztc.bean.details.ProductInfoBean;
import com.yztc.bean.details.ProductQualityBean;
import com.yztc.bean.details.ProductStyleBean;
import com.yztc.bean.details.ReviewBean;

import java.util.List;

/**
 * Created by My on 2016/10/10.
 */
public class DetailsConstact {
    public interface IDetailsView extends IView{
        //获取适配轮播数据
        public void onLunBoData(List<ProductImgBean> productImgBeanList);
        //获取数据失败，提醒信息
        public void onFailLoadData(Throwable throwable);
        //获取并展示标题等数据
        public void onTitleData(ProductInfoBean productInfoBean);
        //获取规格数据
        public void onGuiGeData(List<ProductStyleBean> productStyle);
        //获取传播安心度的图片信息
        public void onAnXinData(List<ProductQualityBean> productQuality);
        //获取买手推荐、我的优点等数据
        public void onProductDetailsData(MstjBean mstj);
        //获取我的详情数据
        public void onMyDetailsData(ProductDetailBean productDetailBean);
        //获取你还要知道的数据
        public void onWxts1Data(List<String> wxts1);
        //获取评论的数据
        public void onPingLunData(ReviewBean reviewBean);

    }
    public interface IDetailsModel extends IModle{
        //获取产品详情页面的所有数据
        public void toLoadData(String baseUrl,int productId,DetailsModel.OnDataListener onDataListener);

    }

    public interface IDetailsPresenter extends IPresenter{
        //获取产品详情页面的所有数据
        public void getLoadData();
    }
}
